package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 吴峰
 * @date 2021/05/14 15:05
 */
@Getter
@Setter
@ToString
public class StageProcessSortDTO extends BaseDTO {

    private static final long serialVersionUID = 850124752521198872L;

    @NotNull(message = "{dto.msg.common.formId.NotNull}")
    private Long formId;

    /**
     * 排序好的版本id列表
     */
    @NotEmpty(message = "{dto.msg.applicationDel.id.NotNull}")
    private ArrayList<Long> stageProcessIdList;
}
